﻿@model BB.Apostas.Models.Reporte

<section class="contact">
    <header>
        <h2>Email</h2>
    </header>
    <p>
        <span class="label">Support:</span> <span><a href="mailto:balas.bolinhos@outlook.pt">balas.bolinhos@outlook.pt</a></span>
    </p>
</section>
<section class="contact">
    <header>
        <h2>Endereço</h2>
    </header>
    <p>
        Rua dos Patos Bravos<br />
        Por esse mundo fora, 6969-069
    </p>
</section>
@if (Request.IsAuthenticated)
{ 
    <section class="contact">
        <header>
            <h2>Reportar</h2>
        </header>
        @if (ViewData["Success"] != null)
        {
            <div class="green">
                <p>@ViewData["Success"].ToString()</p>
            </div>
        }
        @using (Html.BeginForm("Submit", "Home"))
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(false)        
   
            @Html.Hidden("State", "Initial")
            @Html.Hidden("CreatedDate", @DateTime.Now)
        
            <div class="login_settings">
                <p>
                    @Html.LabelFor(model => model.ReportType)
                    @Html.DropDownListFor(model => model.ReportType, new SelectList(new List<Object>{ 
                       new { value = "Bug" , text = "Bug"  },
                       new { value = "Sugestao" , text = "Sugestao" }                     
                    }, "value", "text", 0))
                </p>
                <p>
                    @Html.LabelFor(model => model.Message)
                    @Html.TextAreaFor(model => model.Message, new { @style = "width:250px; height:150px" })
                </p>
                <p style="padding-top: 15px">
                    <label>&nbsp;</label>
                    <input type="submit" class="submit" value="Submeter" />
                </p>
            </div>
        }
    </section>
}

